
/* Services Grid */
.row_services {
    border: 2px solid whitesmoke;
    padding: 10px;
    margin: 10px 0px 15px 0px !important;
}

.col_serviceslist {
    display: flex;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

/* Service Cards */
.card.div_serviceslist {
    width: 100%;
    height: 100%;
    background-color: white;
    border: 2px solid #dddddd;
    border-radius: 10px;
    cursor: help;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

    .card.div_serviceslist:hover,
    .card.div_serviceslist:focus {
        border-color: #6c757d;
        box-shadow: 0px 4px 12px rgba(0, 0, 0, .15);
        transform: translateY(-2px);
    }

    .card.div_serviceslist:focus-visible {
        outline: 2px solid #6c757d;
        outline-offset: 2px;
    }

.div_serviceslist .card-body {
    display: flex;
    flex-direction: column;
    padding: 15px;
}

/* Title */
.service_title {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

/* Image */
.service_imageholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #f5f5f5;
    border-radius: 5px;
    overflow: hidden;
}

.service_image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service_image_placeholder {
    color: #777777;
    font-size: small;
    text-align: center;
    padding: 15px;
}

/* Divider */
.service_divider {
    width: 100%;
    margin: 15px 0px;
    border: 0;
    border-top: 1px solid #aaaaaa;
    opacity: 1;
}

/* Description */
.service_description {
    color: #444444;
    font-size: .9rem;
    line-height: 1.5;
    text-align: center;
    margin-top: auto;
    margin-bottom: 0px;
}

/* Mobile */
@media screen and (max-width: 500px) {
    .row_services {
        padding: 5px;
    }

    .div_serviceslist .card-body {
        padding: 10px;
    }

    .service_title {
        font-size: 1rem;
    }

    .service_description {
        font-size: .85rem;
    }
}
